package day2.Test3;

public abstract class Animal2 {
    private String color;
    private int age;

    public Animal2() {
    }

    public Animal2(String color, int age) {
        this.color = color;
        this.age = age;
    }

    public abstract void eat();
    public abstract void sleep();
}
